package com.allen.study.application.repository;

import com.allen.study.application.api.request.LeaveApplyQueryRequest;
import com.allen.study.application.api.response.LeaveApplyQueryResponse;
import com.allen.study.common.base.Pagination;

import java.util.List;

/**
 * 请假申请表读模型资源库
 *
 * @author AllenSun
 * @since 2025-04-23 20:46
 */
public interface ILeaveApplyReadModelRepo {

    /**
     * 查询请假申请表列表
     *
     * @param pagination   分页
     * @param queryRequest 请假申请表查询请求对象
     * @return 请假申请表响应数据传输对象列表
     */
    List<LeaveApplyQueryResponse> query(Pagination pagination, LeaveApplyQueryRequest queryRequest);
}